package com.lenin.omena.shared;

import java.io.Serializable;

import com.lenin.omena.shared.domain.Produce;

public class SaveProduceResult implements Serializable {

	private Boolean isNew = false;
	
	private Produce produce;
	
	public SaveProduceResult() {
		
	}
	
	public SaveProduceResult(Produce produce, Boolean isNew) {
		this.produce = produce;
		this.isNew = isNew;
	}

	public Boolean isNew() {
		return isNew;
	}

	public void setNew(Boolean isNew) {
		this.isNew = isNew;
	}

	public Produce getProduce() {
		return produce;
	}

	public void setProduce(Produce produce) {
		this.produce = produce;
	}
	
	
	
}
